package com.px.chapter_Dec_1.yg;

public class CommonEmployee extends Employee{
    public CommonEmployee(String name, int id, String salary) {
        super(name, id, salary);
    }

    public CommonEmployee() {
    }

    @Override
    public void work() {
        System.out.println(super.getSalary());
    }


}
